package com.weiyuwqj.server.service.item.impl;

import com.alibaba.druid.filter.AutoLoad;
import com.weiyuwqj.api.model.BusItemAutoSort;
import com.weiyuwqj.server.mapper.BusItemAutoSortMapper;
import com.weiyuwqj.server.service.base.BaseServiceImpl;
import com.weiyuwqj.api.service.BusItemAutoSortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by zhangyong on 2016/8/25.
 */
@Service("itemAutoSortService")
public class BusItemAutoSortServiceImpl extends BaseServiceImpl<BusItemAutoSort> implements BusItemAutoSortService{

    @Autowired
    private BusItemAutoSortMapper sortMapper;

    @Override
    public BusItemAutoSort getOneByUserId(Integer userId) {
        return null;
    }

    @Override
    public void deleteByAutoId(Integer autoId,Integer userId) {
        sortMapper.deleteByAutoId(autoId,userId);
    }

    @Override
    public BusItemAutoSort getAutoSortByAutoId(Integer autoId) {
        return null;
    }
}
